import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
Vue.config.productionTip = false
// 注册全局组件
Vue.component("overallComa", {
  render(h) {
    return h('div', { 
      class: { foo: true }, 
      attrs: { id: "box" } 
    }, [h("span", "这是span标签的a内容")]);
  }
});
Vue.component("overallComb", {
  render(h) {
    return <div id="box" class="foo"><span>这是span标签的b内容</span></div>
  }
});
//注册全局插件
import Dialog from '@/plugin/dialog/index.js'
Vue.prototype.$Dialog = Dialog.install;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
